package cn.afterturn.easypoi.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public class CheckBoxEntity {

    private static final String CHECK = "R";
    private static final String UN_CHECK = "0";
    private static final String FONT = "Wingdings 2";

    private final boolean checked;

    public String getCheckText() {
        return checked ? CHECK : UN_CHECK;
    }

    public String getFont() {
        return FONT;
    }
}
